package com.bins.rabbitmq.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bins.rabbitmq.producer.RabbitmqProducer;

@Service
public class RabbitmqService {

	@Autowired
	private RabbitmqProducer rabbitmqProducer;

	public void sendWork() {
		rabbitmqProducer.sendWork();
	}
	
	public void sendPublish() {
		rabbitmqProducer.sendPublish();
	}
	
	public void sendTopic() {
		rabbitmqProducer.sendTopic();
	}
	
	public void sendConfirm() {
		rabbitmqProducer.sendConfirm();
	}
	
	public void sendReturn() {
		rabbitmqProducer.sendReturn();
	}

}